#include "vector.h"

int main()
{
	ouyang::Vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	v1.push_back(5);
	/*auto it = v1.begin();
	while (it != v1.end())
	{
		cout << *it << " ";
		++it;
	}
	cout << endl;

	ouyang::Vector<int> v2(v1);
	for (int i = 0; i < v2.size(); ++i)
	{
		cout << v2[i] << " ";
	}
	cout << endl;*/

	/*ouyang::Vector<int> v3(v1.begin(), v1.end());
	auto it = v3.begin();
	while (it != v3.end())
	{
		cout << *it << " ";
		++it;
	}
	cout << endl;*/

	//ouyang::Vector<int> v4(5);
	//ouyang::Vector<int> v5(5, 1);
	//ouyang::Print(v4);
	//ouyang::Print(v5);
	//v5.clear();
	//ouyang::Print(v4);
	//ouyang::Print(v5);

	/*ouyang::Vector<int> v6;
	v6 = v1;
	ouyang::Print(v6);
	v6.insert(v6.begin(), 100);
	ouyang::Print(v6);
	v6.erase(v6.begin());
	ouyang::Print(v6);*/

	return 0;
}